package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysPrizeEvent;
import com.ruoyi.system.domain.SysPrizeManagement;

import java.util.List;

/**
 * @Author HP
 * @Date 2021/2/26
 * @Description TODO
 */
public interface SysPrizeEventMapper {
    /*
    添加赛事奖品
     */

    public void saveSysPrizeEvent(SysPrizeEvent sysPrizeEvent);

    /*
    查询所有赛事礼品信息
     */

    public List<SysPrizeEvent> querySysPrizeEvent(SysPrizeEvent sysPrizeEvent);

    /*
    删除赛事礼品信息
     */

    public void deleteSysPrizeEvent(int id);

    /*
    根据id查询
     */

    public SysPrizeEvent queryById(int id);

    /*
    根据赛事ID epid查询
     */
    public List<SysPrizeEvent> queryByEpid(int epid);

    /*
    修改赛事礼品信息
     */
    public void updateSysPrizeEvent(SysPrizeEvent sysPrizeEvent);

    /*
    根据pid删除
     */

    public void deletePid(int pid);
}
